namespace Yaaf.WP7.NativeAccess.ComWrapper.HTC.COM_RegRw
{
    using System.Runtime.InteropServices;
    using System.Text;

    [ComImport, Guid("BB2013C7-A917-4D43-B918-62CD659521EE"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    internal interface IRegRwInterface
    {
        void RegistryGetDWORD(uint A_0, string A_1, string A_2, out uint A_3, out uint A_4);
        void RegistrySetDWORD(uint A_0, string A_1, string A_2, uint A_3, out uint A_4);
        void RegistryGetString(uint A_0, string A_1, string A_2, StringBuilder A_3, out uint A_4);
        void RegistrySetString(uint A_0, string A_1, string A_2, string A_3, out uint A_4);
        void Init(out uint A_0);
        void Deinit(out uint A_0);
        void IsHTCDevice(out uint A_0);
        void GetVersionInfo(string A_0, StringBuilder A_1, out uint A_2);
        void IsAPExist(string A_0, out uint A_1);
        void LaunchAP(string A_0, out uint A_1);
    }
    
    //[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("BB2013C7-A917-4D43-B918-62CD659521EE")]
    //internal interface IRegRwInterface
    //{
    //    void RegistryGetDword(uint uKey, string strSubKey, string strValueName, out uint uData, out uint uResult);
    //    void RegistrySetDword(uint uKey, string strSubKey, string strValueName, uint uData, out uint uResult);
    //    void RegistryGetString(uint uKey, string strSubKey, string strValueName, StringBuilder strData, out uint uResult);
    //    void RegistrySetString(uint uKey, string strSubKey, string strValueName, string pszData, out uint uResult);
    //    void Init(out uint uResult);
    //    void Deinit(out uint uResult);
    //    void IsHTCDevice(out uint isHTCDevice);
    //    void GetVersionInfo(string szSearchKey, StringBuilder szRequestVersion, out uint uRet);
    //}
}